package com.andaying.mail.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@MapperScan("com.andaying.mail.order.dao")
@SpringBootApplication
@EnableDiscoveryClient
public class MailOrderApplication {

    public static void main(String[] args) {

        SpringApplication.run(MailOrderApplication.class, args);
        System.out.println(" .----------------.  .----------------.  .----------------.  .----------------.  .----------------. \n" +
                "| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |\n" +
                "| |     ____     | || |  _______     | || |  ________    | || |  _________   | || |  _______     | |\n" +
                "| |   .'    `.   | || | |_   __ \\    | || | |_   ___ `.  | || | |_   ___  |  | || | |_   __ \\    | |\n" +
                "| |  /  .--.  \\  | || |   | |__) |   | || |   | |   `. \\ | || |   | |_  \\_|  | || |   | |__) |   | |\n" +
                "| |  | |    | |  | || |   |  __ /    | || |   | |    | | | || |   |  _|  _   | || |   |  __ /    | |\n" +
                "| |  \\  `--'  /  | || |  _| |  \\ \\_  | || |  _| |___.' / | || |  _| |___/ |  | || |  _| |  \\ \\_  | |\n" +
                "| |   `.____.'   | || | |____| |___| | || | |________.'  | || | |_________|  | || | |____| |___| | |\n" +
                "| |              | || |              | || |              | || |              | || |              | |\n" +
                "| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |\n" +
                " '----------------'  '----------------'  '----------------'  '----------------'  '----------------' ");
    }

}
